package lianxi;

public class Test {
    public static void main(String[] args){
        xing x1=new xing();
        xing.renming r1=new xing.renming();
        System.out.println(x1.xin+r1.name1);
        System.out.println(x1.xin+r1.name2);
        xing x2=new xing();
        x2.setXin("wang");
        System.out.println(x2.xin+r1.name1);
        System.out.println(x2.xin+r1.name2);
    }
}
